/**
 * 
 */
package sailing.entity;

import cjlite.dao.support.Column;
import cjlite.dao.support.DT;
import cjlite.dao.support.Id;
import cjlite.dao.support.Table;

/**
 * @author kevin
 * 
 */
@Table
public class BankAccount {

	@Id
	@Column(dt = DT.CHAR, length = 20)
	private String id;

	@Column(dt = DT.CHAR, length = 100)
	private String bankName;
	
	@Column(dt = DT.CHAR, length = 50)
	private String accountName;

	@Column(dt = DT.CHAR, length = 50)
	private String accountNumber;

	@Column(dt = DT.DOUBLE)
	private double initialBalance;
	
	@Column(dt = DT.BIGINT)
	private long openTime;

	@Column(dt = DT.BIGINT)
	private long createTime;


	public String getId() {
		return id;
	}


	public void setId(String id) {
		this.id = id;
	}


	public String getBankName() {
		return bankName;
	}


	public void setBankName(String bankName) {
		this.bankName = bankName;
	}


	public String getAccountNumber() {
		return accountNumber;
	}


	public void setAccountNumber(String accountNumber) {
		this.accountNumber = accountNumber;
	}


	public double getInitialBalance() {
		return initialBalance;
	}


	public void setInitialBalance(double initialBalance) {
		this.initialBalance = initialBalance;
	}


	/**
	 * @return the createTime
	 */
	public long getCreateTime() {
		return createTime;
	}


	/**
	 * @param createTime the createTime to set
	 */
	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}


	/**
	 * @return the accountName
	 */
	public String getAccountName() {
		return accountName;
	}


	/**
	 * @param accountName the accountName to set
	 */
	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}


	/**
	 * @return the openTime
	 */
	public long getOpenTime() {
		return openTime;
	}


	/**
	 * @param openTime the openTime to set
	 */
	public void setOpenTime(long openTime) {
		this.openTime = openTime;
	}

}
